package com.jy.admin.db.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.jy.admin.db.dao.CeCommentPushLogDao;
import com.jy.admin.db.entity.CeCommentPushLogEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
* User: anonymous
* Date: 2022-01-07
* Time: 14:19:59.526
*/

@Repository
public class CeCommentPushLogDaoImpl extends AbstractBaseMapper<CeCommentPushLogEntity> implements CeCommentPushLogDao {

    @Override
    public List<CeCommentPushLogEntity> getListByStatus(Integer status) {
        Map<String, Object> params = new HashMap<>();
        params.put("status", status);
        return getSqlSession().selectList(this.getStatement("getListByStatus"), params);
    }
}